package com.hisoft.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @program: mybatissample2
 * @description:
 * @author: wlg
 * @create: 2021-09-26 16:23:02
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Order {
    private Integer id;
    private Long userId;
    private String orderNumber;


    private User user;

    List<OrderDetail> orderDetails;
}
